I think you need to look into the basics of audio synthesis a little bit more before trying this. Any instrument except a pure sine oscillator will not produce a pure sine wave. Instead it will produce a unique wave that will look sort of like a sine wave, but with constantly varying amplitude and pitch. This is what creates the "tone" of an instrument and what makes, for example: a brass instrument and a cello not sound the same, even though they are playing the same note. Or a viola and a cello playing C; they will not sound the same at all even though it is the same pitch. Even different instruments of the same type can sound amazingly different even though they look identical.
This unique wave can be broken down via a Fourier transform into multiple sine waves that are additively and subtractvly interfering with each other to form the unique wave signature of the instrument. You are going to have to build this wave signature up using an equivalent of a Fourier transform. If you want to make it easier on yourself, I would run a FFT(Fast Fourier Transform) on your file first and then create all the sine waves that you get out of the analysis in Pure Data. I do not have any experience with said program, but you might even be able to do a FFT inside it.
I think that the person who told you to mix square waves actually meant sine waves. A square wave, just like that wave signature of your cello, can also be broken down into sine waves. If I remember correctly, you can produce a square wave by adding the original sine wave and the 1st, 3rd, 5th etc, harmonics until you get close.