It is not mandatory to change all the shocks at once, however, it is best to change them in pairs, both front or rear. In case your Jeep is pretty new, you can change just one shock absorber since all the others may not be worn out.