You need to get the old minecraft.jar file or or prefferably the entire bin folder corresponding to the desired version.
Download old Minecraft versions here.
Guide to install old Minecraft version here.