The Wakefield District Patrol team Tweeted photos of the vehicle, after the incident occurred.
Using the hashtag #ProtectTheProtectors, the team said: "Officers doing whatever it takes to protect the public of West Yorkshire. Damaged police vehicle after it was rammed."
Two officers in the car were shaken but unharmed.
Two men were arrested after a short chase on foot.