Most places provide instructions on the creation of non-pressurized portafilters for high end machines to get better espresso. I, however, had the opposite problem. My machine, a Delonghi EC9, is unable to produce a decent shot.
I set off to create a pressurized portafilter to improve the coffee.
1) Cheap espresso machine
2) A rubber cap, such as will fit the bottom of the basket for the espresso machine (I used the cap off a pair of binoculars)
1) Swiss army knife
This can probably be adjusted to fit any low end espresso machine.
Step 1: Trim the cap
It probably won't fit into the portafilter as is, trimming it to just barely climb the sides of the basket will allow it to be fitted into the portafilter.
Use part of the rubber you remove to create an o-ring to fit at the top of the basket to seal it to the portafilter.
Finally, poke a small hole in the middle of the rubber cap.