Reconstruction of gaps in the past history of solar wind parameters