Don't overbake. Remember that the cookies will keep baking in the residual heat after taking them out the oven so take them out on time. Also make sure that you are measuring your flour correctly. Too much flour will result in brittle cookies.