Could also be due to not replacing the disc, the disc will have a small lip and until the pad has worn into the lip, it will squeal!!
Your method of getting rid of the squeal can be good and bad!!
Mine didn't squeal till my first squirt up mountain roads, then squealed for a couple of months till i tracked it, then went away!!