The energy consumers minister has announced an end to the 'license to scam'