It's not the size of the rim that will throw off the speedo, it is the overall height (diameter) of the tire that will do it. (see Link:
http://go.jeep-xj.info/HowtoSpeedoGears.htm ) More than likely when you put on the 16" rims, you also put on new tires that are larger diameter than your old ones.