On the stability of the absolutely continuous invariant measures of a certain class of maps with deterministic perturbation