Zum Wegwerfen ist es zu schade!
… is a clear case, since "zum" has to be followed by a noun, which then has to be capitalised.
But what about …
Zum vergammeln lassen ist es zu schade!
What's the correct capitalisation and hyphenation (if any) for a nominalised compound word like this?