My one year old dropped my Canon S30 and broke the LCD.  I found this web site... lots of detail on repair.  Hope it helps you.  Replacement LCD (part number WG2-5219-000) from Canon parts (732-521-7230) was about US$50.  Or you could buy a broken S30/S40 on ebay for the parts.
http://members.rogers.com/aiwave/fixcam/
                
 Mike Johnson
                
 December 2004