Modelling variability power spectra of active galaxies from irregular time series