The best way to achieve this is by being efficient in keeping your credit card debt in good shape. You must make on-time, full payments monthly. Also, make sure you keep your expenses in check.
A nonprime credit card provides you with an opportunity to repair a damaged credit. However, if you overspend this will drive your credit score further down.