Hello,
In addition to the MC9S08QG8, other possible possible devices available with reduced pin count packages might include -
MC9S08QB8, MC9S08QE8, MC9S08SE8, MC9S08SG8, MC9S08SH8
Some of the devices are limited to 3.3 volt operation, whereas others are capable of 5 volt operation. The number of peripherals will vary between devices.
Your original code will probably need to be re-written to take into account the new peripheral operational requirements (particularly the timer), and also a potentially higher bus frequency.
Regards,
Mac