If what Silviron says is true, then it would be far better to buy the lights from WalMart. Just getting the solar cells may cost you half what the WalMart stuff sell for.
On the other hand, there are some modifications you could do to it, which I am about to undertake with mine. Bear in mind that my lights are old and I don't mind screwing around with them since they were destined for the scrap heap anyway.
I found that placing my lights in the positions for maximum mood effect meant that they were frequently in partial shade. Hence they couldn't charge fully and usually couldn't last the night. Remember that the voltage from the solar cells has to be at least a volt or two above the voltage of the storage device to effect charging and in partial light, the solar cells may not be able to deliver the full voltage, thus not even charging the cells. Of course the sky is frequently cloudy too which compounds the problem.
The mod I have in mind involves a flyback transformer and will boost the available power to the proper voltage, irregardless of the voltage available from the solar cells. Of course, power is proportional, so there will be less current, but that just means less chance of blowing up the batteries during the charging cycle. Also, since we're all LED enthusiasts here, I will also replace the standard bulb (it looks like something from a Mini-Mag) with a bunch of LEDs. With the reduced power consumption, I might be able to go for a few days of storms before my lights die.
BTW, the circuit mentioned by Silviron may indeed be a regulator, but I doubt it because manufacturers seldom give much leeway in the capacity of the solar cells, hence my need for the project above. More likely, the circuit is to switch on the light automatically when the sun goes down.