From memory...
Normally the install discs that are delivered with the iMac are the, so to speak, "version zero discs", of software such as iLife. However, I cannot remember if iLife was bundled in with 10.1.x. - and this may explain your issue.
Also with the 10.3.9 and G3 you may need to...